<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
    <title>动态search box搜索框</title>
    <link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="search-box">
    <input class="search-txt" type="text" placeholder="Type to search">
    <a href="#" class="search-btn">
        <ion-icon name="search" class="icon"></ion-icon>
    </a>
</div>
</body>
</html>